package com.huike.service;


import com.github.pagehelper.PageInfo;
import com.huike.entity.Department;
import com.huike.entity.Role;

import java.util.List;

public interface RoleService {
    List<Role> getAll();

    PageInfo<Role> getPage(int currentPage,int pagesize);

    void saveOrUpdate(Role role,Long[] permissionIds);

    Role getRoleById(Long id);

    void delete(Long id);
}
